package com.yipinhouse.backstage.client;

import com.yipinhouse.backstage.client.param.DoSigningWebParam;
import com.yipinhouse.common.result.Result;
import com.yipinhouse.signing.client.param.DoSigningParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "signingQueryBackClient",name="backstage",path = "backstage")
public interface SigningMessageWebClient {

    /**
     * 签约
     * @param param
     * @return
     */
    @PostMapping("/doSigning")
    Result doSigning(@RequestBody DoSigningWebParam param);
}
